###AI EVENTS TO WAKE AND SLEEP LEADERS###
#######FROM ANSCHLUSS, VICHY and PURGES##
#########################################

####################################
###SPERRLE AND VON RICHTHOFEN RETURN
####################################

event = {
 id = 2155
 trigger = { 
	exists = SPA
	NOT = { exists = SPR }
	}
 random = no
 country = SPA
 name = "AI_Event"
 desc = "Foreign Leaders return"
 style = 0
 date = { day = 2 month = september year = 1939 }
 offset = 1
 deathdate = { day = 4 month = september year = 1939 }
 action_a = {
  name = "OK" #They return
  command = { type = sleepleader which = 3412 }
  command = { type = sleepleader which = 3425 }
  command = { type = sleepleader which = 3449 }
  command = { type = sleepleader which = 3487 }
  command = { type = sleepleader which = 3488 }
  command = { type = sleepevent which = 2156 }
	}
	}

event = {
 id = 2156
 trigger = { 
	exists = SPA
	NOT = { exists = SPR }
	}
 random = no
 country = SPA
 name = "AI_Event"
 desc = "Foreign Leaders return"
 style = 0
 date = { day = 13 month = december year = 1941 }
 offset = 1
 deathdate = { day = 15 month = december year = 1941 }
 action_a = {
  name = "OK" #They return
  command = { type = sleepleader which = 3412 }
  command = { type = sleepleader which = 3425 }
  command = { type = sleepleader which = 3449 }
  command = { type = sleepleader which = 3487 }
  command = { type = sleepleader which = 3488 }
		}
	}

############################
###PHLEPS DEFECTS TO GERMANY
############################

event = {
 id = 2110
 trigger = {
	exists = GER
	exists = ROM
	 	}
 random = no
 country = ROM
 name = "AI_Event"
 desc = "Phleps defects to Germany"
 style = 0
 date = { day = 2 month = september year = 1939 }
 offset = 1
 deathdate = { day = 4 month = september year = 1939 }
 action_a = {
  name = "OK" #Phelps defects
  command = { type = sleepleader which = 4405 }
  command = { type = sleepevent which = 2111 }
		}
	}

event = {
 id = 2111
 trigger = {
	exists = GER
	exists = ROM
	 	}
 random = no
 country = ROM
 name = "AI_Event"
 desc = "Phleps defects to Germany"
 style = 0
 date = { day = 12 month = december year = 1941 }
 offset = 1
 deathdate = { day = 15 month = december year = 1941 }
 action_a = {
  name = "OK" #Phelps defects
  command = { type = sleepleader which = 4405 }
		}
	}


########################################
###CZEYDNER AND GRASSY DEFECT TO GERMANY
########################################

event = {
 id = 2112
 trigger = {
	exists = GER
	exists = HUN
	 	}
 random = no
 country = HUN
 name = "AI_Event"
 desc = "Czeydner and Grassy defect to Germany"
 style = 0
 date = { day = 2 month = september year = 1939 }
 offset = 1
 deathdate = { day = 4 month = september year = 1939 }
 action_a = {
  name = "OK" #They defect
  command = { type = sleepleader which = 31123 }
  command = { type = sleepleader which = 31129 }
  command = { type = sleepevent which = 2113 }
		}
	}
 
event = {
 id = 2113
 trigger = {
	exists = GER
	exists = HUN
	 	}
 random = no
 country = HUN
 name = "AI_Event"
 desc = "Czeydner and Grassy defect to Germany"
 style = 0
 date = { day = 12 month = december year = 1941 }
 offset = 1
 deathdate = { day = 15 month = december year = 1941 }
 action_a = {
  name = "OK" #They defect
  command = { type = sleepleader which = 31123 }
  command = { type = sleepleader which = 31129 }
		}
	}

